package com.netty.clientserver.command;

/** 协议栈中各个指令
 * @author LiuXiaoYu
 * @date 2022/2/2- 14:26
 */
public interface Command {
    /**自己发送的消息确认*/
   Integer SELF_RESPONSE = 0;
    /**私聊消息*/
    Integer SINGLE_MESSAGE = 1;
    Integer MESSAGE_RESPONSE = 2;
    /**创建群*/
    Integer CREATE_GROUP = 3;
    /**创建群响应*/
    Integer CREATE_GROUP_RESPONSE = 4;
    /**登录请求*/
    Integer LOGIN_REQUEST = 5;
    /**登录响应*/
    Integer LOGIN_RESPONSE = 6;
    /**注册请求*/
    Integer REGISTER = 7;
    /**注册响应*/
    Integer REGISTER_RESPONSE = 8;
    /**发送群消息*/
    Integer GROUP_MESSAGE = 9;
    /**接收群消息*/
    Integer GROUP_MESSAGE_RESPONSE = 10;
    /**心跳消息请求*/
    Integer HEARTBEAT_REQUEST = 11;
    /**心跳消息恢复*/
    Integer HEARTBEAT_RESPONSE = 12;
    /**红包发起*/
    Integer RED_PACK_CREATED = 13;
    /**加入群*/
    Integer JOIN_GROUP = 14;
}
